Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOCA2 First Implementation #3

Merged
merged 20 commits into from
Jan 6, 2025
Merged

LOCA2 First Implementation #3

merged 20 commits into from
Jan 6, 2025

Conversation

BenGalewsky
Copy link
Member

@BenGalewsky BenGalewsky commented Jan 2, 2025

This pull request introduces several key changes to the project, primarily focusing on setting up a CI/CD pipeline, configuring development tools, and adding new functionalities for handling downscaled climate data. Below is a summary of the most important changes:

CI/CD Pipeline Setup:

  • Added a GitHub Actions workflow to automate testing, building, and deploying the project. This includes setting up Python, installing dependencies, running flake8 for linting, running pytest for tests, and building and pushing a Docker image. (.github/workflows/ci.yaml)

Development Environment Configuration:

  • Added a .dockerignore file to exclude the virtual environment directory. (.dockerignore)
  • Configured flake8 to exclude certain directories and set specific linting rules. (.flake8)
  • Created a Dockerfile to build a Docker image for the project. (Dockerfile)

Project Documentation:

  • Updated the README.md with detailed instructions on setting up the project, configuring access to storage buckets, running the Dagster dashboard, and understanding the project structure. (README.md)

Dagster Integration:

  • Defined Dagster assets for downloading raw LOCA2 data and converting it to Zarr format, including configuration for S3 storage. (downscaled_climate_data/assets/loca2.py)
  • Set up Dagster definitions for assets, sensors, and resources, integrating them into the project. (downscaled_climate_data/definitions.py)
  • Added assets to create intake-esm catalogs for the new datasets

Miscellaneous:

  • Added versioning to the project using importlib.metadata. (downscaled_climate_data/__init__.py)
  • Configured Dagster to limit the number of concurrent runs to 1 on development deployments. (dagster.yaml)

@BenGalewsky BenGalewsky merged commit 91d9993 into main Jan 6, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant